#ifndef __SYSTEM_INTERFACE_H
#define __SYSTEM_INTERFACE_H
#ifdef __cpluscplus
extern "C"{
#endif //__cpluscplus

#include "robo_app.h"
#include "stdint.h"

int inv_io_hal_read_reg(struct inv_icm426xx_serif * serif, uint8_t reg, uint8_t * rbuffer, uint32_t rlen);
int inv_io_hal_write_reg(struct inv_icm426xx_serif * serif, uint8_t reg, const uint8_t * wbuffer, uint32_t wlen);

void enable_irq(void);
void disable_irq(void);


#ifdef __cpluscplus
}
#endif //__cpluscplus
#endif //__SYSTEM_INTERFACE_H

